package mx.example.com.mvpdemo.ui.login;

import mx.example.com.mvpdemo.base.BasePresenter;
import mx.example.com.mvpdemo.base.BaseView;


/**
 * Created by maixin on 2018/4/10.
 *
 */

public interface LoginContract {
    interface View extends BaseView<Presenter> {
        void showLoginSuccess(String msg);
        void showLoginError(String msg);

    }

    interface Presenter extends BasePresenter {
        void loadLogin(String account, String pwd);
    }
}
